/*
import java.util.Arrays;
import java.util.Date;
import java.util.Scanner;
*/
import java.util.Arrays;
import java.util.Scanner;
import java.sql.*;
//import static java.lang.Math.*;
//import static java.lang.System.*;


public class Test {

    public static void main(String[] args) {
        double x = 30;
        double y = 40;
        // 静态导入的方式写起来更方便一些.
        double result = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
        //double result = sqrt(pow(x, 2) + pow(y, 2));
        System.out.println(result);
    }

    public static void main1(String[] args) {
        Person person1 = new Person();
        person1.eat();
        System.out.println(person1);

        //Person person2 = new Person("bit",10);

        int[] array = {1,2,3,4,5};
        System.out.println(Arrays.toString(array));

        Scanner scanner = new Scanner(System.in);

        Date date = new Date(100);

    }
}
